package com.rbac.web.model.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author gengaoliu
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "菜单树形结构返回参数")
public class PermissionTreeGetRes {
  private Integer id;
  private String displayName;
  private List<PermissionTreeGetRes> childrenList;
  private List<PermissionTreeGetRes> buttonList;
  private Integer sort;
  private Integer pId;
}
